<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
  function f1() {
    console.log('无参无返回值');
  }
  f1();
  function f2(name) {
    console.log(name);
  }
  f2("张三");
  function f3() {
    return "我是返回值";
  }
  console.log(f3());
  function f4(x,y) {
    return x * y;
  }
  console.log(f4(3,3));

  let f6 = function (name,age) {
    console.log(name+":"+age)
  }
  f6("吕布", 60);
  let f7 = new Function("name", "age", "console.log(name+':'+age)");
  f7("貂蝉",30);
</script>
</html>